package com.ovopark.firecar.manager

import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper

class MyDBOpenHelper(context : Context,dbName : String,version : Int) : SQLiteOpenHelper(context,dbName,null,version) {
    override fun onCreate(db: SQLiteDatabase) {
        db.execSQL("create table service_info(id INTEGER primary key autoincrement,name varchar(100),ip varchar(100),port varchar(100),username varchar(100),password varchar(100) )")
    }

    override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {

    }
}